FROM  tomcat:8.5

# COPY qemu-arm-static /usr/bin/qemu-arm-static
# RUN remove ${CATALINA_HOME}/conf/server.xml
ADD config/server.xml ${CATALINA_HOME}/conf/
#ADD ./config/server.xml ${CATALINA_HOME}/conf/server.xml.tmp

RUN mkdir -pv ${CATALINA_HOME}/workspace
VOLUME ${CATALINA_HOME}/${CATALINA_HOME}/workspace

#WORKDIR ${CATALINA_HOME}/
#CMD ["./bin/catalina.sh","run"]

